package com.library.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class BorrowRecord {
    private Long id;
    private Long bookId;
    private String borrowerName;
    private String borrowerContact;
    private LocalDateTime borrowTime;
    private LocalDateTime returnTime;
    private LocalDateTime dueTime;
    private Integer status; // 0: 借阅中, 1: 已归还, 2: 逾期
}
